@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* VARIABLES */
:root {
    --c-dark: #212529;
    --c-brand: #be8314;
    --c-brand-light: #ffffffe5; 
    --c-brand-rgb: rgb(20, 190, 71);
    --c-body: #4b4946;
    --font-base: "generalsans", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: alll 0.5s ease;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.7;
    color: var(--c-body);
}

h1, h2, h3, h4, h5, h6
.h1, .h2, .h3, .h4, h5, .h6 {
    font-weight: 600;
    color: var(--c-dark);
}

a{
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand-light);
}

img {
    max-width: 150px;
    height: auto;
}


.section-padding {
    padding-top: 140px;
    padding-bottom: 140px;
}

.bg-cover{
    background-position: center !important;
    background-size: cover !important;
    background-position: center !important;
}


/* navbar */
.navbar {
    box-shadow: var(--box-shadow);
}
.navbar .navbar-nav .nav-link:hover{
    color: #be8314;
    text-decoration: underline;
}
.navbar .navbar-nav .nav-link {
    font-weight: 500;
    color: var(--c-dark);
}

.navbar .navbar-nav .nav-link.active {
    color: var(--c-brand);
}


/* BTN */
.btn {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px, 24px;
}

.btn-brand {
    background-color: var(--c-brand) !important;
    border-color: var(--c-brand) !important;
    color: white !important;
}

.btn-brand:hover {
    background-color: white !important;
    border-color: white !important;
    color: gray !important;
}

/* Footer */
footer {
  background-color: #20262E;
  color: #ffffff;
  padding: 40px 0;
  width: 100%; /* Agar memenuhi layar */
  margin: 0; /* Hilangkan margin ekstra */
  bottom: 0;
  left: 0;
}
.container-footer {
  width: 90%; /* Agar lebih proporsional */
  max-width: 1200px; /* Maksimal ukuran */
  margin: 0 auto; /* Centering */
}

footer a {
  color: #ffffff;
  text-decoration: none;
}
footer a:hover {
  color: orange;
}
.social-icons a {
  margin-right: 15px;
  color: #ffffff;
  font-size: 20px;
}
.social-icons a:hover {
  color: orange;
}
.menu-list a {
  display: block;
  margin-bottom: 10px;
}
.subscribe input {
  margin-bottom: 10px;
}

.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30vh;
    padding: 10px;
}

/* section hero utama*/ 
.image-box {
    position: relative;
    width: 100%;
    height: 50vh;
    background: url('../image/Sampul\ research\ page.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: flex-start;
    padding-left: 150px; /* Memberikan jarak dari dinding kiri */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 10;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40); /* Efek overlay hitam transparan */
}

.text-box {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 35px;
}

.text-box h2 {
    font-weight: bold;
    font-size: 24px;
}

.text-box p {
    font-size: 18px;
    margin-top: 5px;
}

/* Fade-in effect */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsif */
@media (max-width: 1024px) {
    .image-box {
        width: 95%; /* Lebih fleksibel di tablet */
        height: 350px;
    }
}

@media (max-width: 768px) {
    .image-box {
        width: 98%; /* Lebih melebar di layar kecil */
        height: 300px;
    }
}

@media (max-width: 576px) {
    .image-box {
        width: 100%; /* Penuhi layar untuk smartphone */
        height: 250px;
    }
}

/* Animasi Fade-In */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Judul */
.title {
    text-align: left;
    margin-bottom: 10px;
}

/* Container Gambar */
.image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
}

/* Gambar Besar */
.large-image {
    max-width: max-content;
    width: 28vw;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Gambar Kecil */
.small-image {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 10px;
    right: 6px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .image-container {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .large-image {
        width: 90vw;
        max-width: 100%;
        height: auto;
        position: static;
        margin-bottom: 15px;
    }

    .small-image {
        width: 80vw;
        position: static;
        margin-top: 10px;
    }
}


/* Kontent judul skripsi slider */
.slider-container {
    position: relative;
    overflow: hidden;
    cursor: grab;
    max-width: 600px;
    margin: auto;
}
.slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
}
.indicator {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}
.active {
    background-color: #717171;
}
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .title {
        text-align: center;
    }
    .image-container {
        max-width: 100%;
    }
    .text-container {
        text-align: center;
    }
    .icon-box {
        width: 90%;
    }
}

/* Kontent MoU*/
/* Background kuning */
.mou-section {
    background-color: rgba(244, 166, 40, 1);
    padding: 50px 20px;
    text-align: center;
}

/* Judul */
.mou-section h2 {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 50px;
}

/* Ukuran Logo */
.university-logo {
    width: 40%; /* Semua logo ukuran sama */
    height: auto;
    margin: 36px;
}

/* Efek Fade In */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-visible {
    opacity: 1;
    transform: translateY(0);
}